Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.drive.adapters

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.drive.adapters" version="1.0">

  <extension target="org.nuxeo.ecm.core.api.DocumentAdapterService"
    point="adapters">

    <adapter class="org.nuxeo.drive.adapter.FileSystemItem"
      factory="org.nuxeo.drive.adapter.impl.FileSystemItemAdapterFactory" />

  </extension>

  <extension target="org.nuxeo.drive.service.FileSystemItemAdapterService"
    point="fileSystemItemFactory">

    <fileSystemItemFactory name="collectionSyncRootFolderItemFactory"
      order="5" facet="Collection"
      class="org.nuxeo.drive.service.impl.CollectionSyncRootFolderItemFactory" />
    <fileSystemItemFactory name="defaultSyncRootFolderItemFactory"
      order="10" facet="DriveSynchronized"
      class="org.nuxeo.drive.service.impl.DefaultSyncRootFolderItemFactory" />
    <fileSystemItemFactory name="defaultFileSystemItemFactory"
      order="50" class="org.nuxeo.drive.service.impl.DefaultFileSystemItemFactory">
      <parameters>
        <parameter name="versioningDelay">3600</parameter>
        <parameter name="versioningOption">MINOR</parameter>
      </parameters>
    </fileSystemItemFactory>

  </extension>

  <extension target="org.nuxeo.drive.service.FileSystemItemAdapterService"
    point="topLevelFolderItemFactory">

    <topLevelFolderItemFactory
      class="org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory">
      <parameters>
        <parameter name="folderName">Nuxeo Drive</parameter>
      </parameters>
    </topLevelFolderItemFactory>

  </extension>

  <extension target="org.nuxeo.drive.service.FileSystemItemAdapterService"
    point="activeFileSystemItemFactories">

    <activeTopLevelFolderItemFactory>org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory
    </activeTopLevelFolderItemFactory>

    <activeFileSystemItemFactories>
      <factories>
        <factory>collectionSyncRootFolderItemFactory</factory>
        <factory>defaultSyncRootFolderItemFactory</factory>
        <factory>defaultFileSystemItemFactory</factory>
      </factories>
    </activeFileSystemItemFactories>

  </extension>

</component>